package com.xlhl.mybatisplusplus.anno;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.xlhl.mybatisplusplus.common.PageRequestBody;

import java.lang.annotation.*;

/**
 * 通过
 * <p>
 * {@link com.xlhl.mybatisplusplus.common.QueryWrapperService#getQueryWrapperSelectFilterByNotSelect(QueryWrapper, Class)}
 * <p>
 * {@link com.xlhl.mybatisplusplus.common.QueryWrapperService#getQueryWrapperSelectFilterByNotSelect(PageRequestBody, Class)}
 * <p>
 * 构造查询条件时，会忽略被 {@link NotSelect} 标注的字段
 *
 * @author xlhl
 */
@Documented
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface NotSelect {

}
